package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.tab.NxTab;
	import newx.com.control.text.NxLabel;

	/**
	 * 商店UI 
	 * @author liuel
	 * 
	 */	
	public class SellUI extends BaseUI
	{
		private static var _self   :SellUI;
		public var typeTab          :NxTab;
		public var pagelabel        :NxLabel;
		
		public var imgGroup         :NxViewGroup;
		public var redeemGroup      :NxViewGroup;
		
		public var btnPre           :NxButton
		public var btnNext          :NxButton;
		
		public var twoBtn           :MovieClip;
		public var kuang            :MovieClip;
		public var pagemc           :MovieClip;
		public var nxlabel          :NxLabel;
		public function SellUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		public static function getInstance():SellUI
		{
			if(_self==null)
			{
				_self=new SellUI();
			}
			return _self;
		}
		
		override public function  Init():void
		{
			
			SellLogic.getInstance().Init();
			
		}
		
		override protected function	BeforeShow():void
		{
			SellLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			SellLogic.getInstance().AfterHide();
		}
	}
}